package com.mine.test.service;

import com.mine.test.model.Product;
import org.springframework.stereotype.Service;

/**
 * Project Name is testql.
 * User: wwq
 * Date: 2017/6/2
 * Time: 上午10:43
 */
@Service
public class ProductServiceImpl implements IProductService{
    public Product findById(Long id){
        Product p=new Product();
        p.setId(1L);
        p.setPrice(999.99);
        return p;
    }
    public void update(Product p){
        System.out.println(p.getId()+" Already Update!");
    }
}
